]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
layout: don't bother hiding window group
authorRay Strode <rstrode@redhat.com>
Wed, 6 Feb 2013 19:17:19 +0000 (14:17 -0500)
committerRay Strode <rstrode@redhat.com>
Tue, 19 Feb 2013 23:39:54 +0000 (18:39 -0500)
Right now we hide the window group if we're a greeter.
We did this to avoid showing the background. These days
we don't add the background in the first place, so we
can drop this code.

https://bugzilla.gnome.org/show_bug.cgi?id=682429

js/ui/layout.js

index 12a9e6e36a061f5f9756fe2161bcec1a2686896e..ca3c3e0e57c57939c7bc7fa761d2589fb0b59897 100644 (file)
@@ -167,18 +167,8 @@ const LayoutManager = new Lang.Class({
         global.stage.remove_actor(global.window_group);
         this.uiGroup.add_actor(global.window_group);
 
-        // Now, you might wonder why we went through all the hoops to implement
-        // the GDM greeter inside an X11 compositor, to do this at the end...
-        // However, hiding this is necessary to avoid showing the background during
-        // the initial animation, before Gdm.LoginDialog covers everything
-        if (Main.sessionMode.isGreeter) {
-            global.window_group.hide();
-            global.top_window_group.hide();
-        }
-
         global.stage.remove_actor(global.overlay_group);
         this.uiGroup.add_actor(global.overlay_group);
-
         global.stage.add_child(this.uiGroup);
 
         this.screenShieldGroup = new St.Widget({ name: 'screenShieldGroup',